step by step find the inverse